package yzserver.sx4a.domain;


import yzserver.sx4a.form.District;

/**
 * Created with IntelliJ IDEA.
 * User: andrew
 * Date: 14-8-15
 * Time: 上午10:27
 * To change this template use File | Settings | File Templates.
 */
public class DistrictDomain {
    private String DISTRICTID; //	地域id
    private String DISTRICTNAME;//	地域名称
    private String DISTRICTPARENT;    //	父地域id
    private String DISPLAYNAME;    //	地域全名
    private String OPUSER;//	操作人信息
    private String STARTDATE;    //	生效时间yyyy-MM-dd 如2010-03-08
    private String ENDDATE;    //		失效时间yyyy-MM-dd 如2010-03-08
    private String UPDATEDATE;//更新时间yyyy-MM-dd HH:mm:ss，如2010-03-08
    private String ENABLE;//	状态（0是有效，1是失效）


    public DistrictDomain() {

    }

    public DistrictDomain(District district) {
        this.DISTRICTID =district.getDistrictid();
        this.DISTRICTNAME =district.getDistrictname();
        this.DISTRICTPARENT =district.getDistrictparent();
        this.DISPLAYNAME =district.getDisplayname();
        this.OPUSER =district.getOpuser();
        this.STARTDATE =district.getStartdate();
        this.ENDDATE =district.getEnddate();
        this.UPDATEDATE =district.getUpdatedate();
        this.ENABLE =district.getEnable();

    }

    public String getDISTRICTID() {
        return DISTRICTID;
    }

    public void setDISTRICTID(String DISTRICTID) {
        this.DISTRICTID = DISTRICTID;
    }

    public String getDISTRICTNAME() {
        return DISTRICTNAME;
    }

    public void setDISTRICTNAME(String DISTRICTNAME) {
        this.DISTRICTNAME = DISTRICTNAME;
    }

    public String getDISTRICTPARENT() {
        return DISTRICTPARENT;
    }

    public void setDISTRICTPARENT(String DISTRICTPARENT) {
        this.DISTRICTPARENT = DISTRICTPARENT;
    }

    public String getDISPLAYNAME() {
        return DISPLAYNAME;
    }

    public void setDISPLAYNAME(String DISPLAYNAME) {
        this.DISPLAYNAME = DISPLAYNAME;
    }

    public String getOPUSER() {
        return OPUSER;
    }

    public void setOPUSER(String OPUSER) {
        this.OPUSER = OPUSER;
    }

    public String getSTARTDATE() {
        return STARTDATE;
    }

    public void setSTARTDATE(String STARTDATE) {
        this.STARTDATE = STARTDATE;
    }

    public String getENDDATE() {
        return ENDDATE;
    }

    public void setENDDATE(String ENDDATE) {
        this.ENDDATE = ENDDATE;
    }

    public String getUPDATEDATE() {
        return UPDATEDATE;
    }

    public void setUPDATEDATE(String UPDATEDATE) {
        this.UPDATEDATE = UPDATEDATE;
    }

    public String getENABLE() {
        return ENABLE;
    }

    public void setENABLE(String ENABLE) {
        this.ENABLE = ENABLE;
    }
}
